
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@page import="java.util.List"%>
<%@page import="com.pojos.AddNotices"%>
<%@page import="java.util.Iterator"%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Consultant</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="mainPan">
  <div id="leftPan">
  	<div id="leftTopPan">
		<a href="index.html"><img src="images/logo.gif" title="Consultant" alt="Consultant" width="160" height="39" border="0" /></a> </div>
		<!-- ul>
			<li class="home">Home</li>
			<li><a href="#">About us</a></li>
			<li><a href="#">Network</a></li>
			<li><a href="#">Submission</a></li>
			<li><a href="#">Archives</a></li>
			<li><a href="#">Finance</a></li>
			<li class="contact"><a href="#">Contact</a></li>
		</ul-->
		
		
<br/><br/><br/>
<br /></p><logic:notEmpty name="msg">
<font size="4"><bean:write name="msg"/></font>

</logic:notEmpty>
		<html:form action="/Login">
		
		<h3>members login</h3>
		<table border=0>
		<tr>
		
		<td>Log In:</td>
		<td><html:text property="uid"/></td>
		</tr>
		<tr>
		<td>Password:</td>
		<td><html:password property="password"/></td>
		</tr>
		<tr>
		<td>Type</td>
		<td>
		<html:select property="type">
		<html:option value="Principal">Principal</html:option>
		<html:option value="AO">Administrative Officer</html:option>
		<html:option value="AcadamicSection">Acadamic Section</html:option>
		<html:option value="HOD">HOD</html:option>
		<html:option value="Lecturer">Faculty</html:option>
		<html:option value="Student">Student</html:option>
		
		</html:select>
		</td>
		</tr>
		<tr>
		<td align="center" colspan="2">
	<html:submit value="Login"></html:submit>
		</td>
		</tr>
		</table>
		</html:form>
		
		<div id="register"><html:link action="/Register">Register now</html:link></div>
		<html:link action="/ViewPublicNotices">View Notices-<blink>Public</blink></html:link><br/>
		<html:link action="/ViewOfficalNotices">View Notices-<blink>Official</blink></html:link><br/>
		<html:link href="Logout.jsp">Logout</html:link>
		<h2><br /></h2>
		<!--ul class="linkone">
			<li><a href="#">pit tellus, at</a></li>
			<li><a href="#">iaculis ante</a></li>
			<li><a href="#">ante eget</a></li>
			<li><a href="#">massa. Vestibu</a></li>
			<li><a href="#">lum facilisis.</a></li>
			<li><a href="#">Quisque vel est.</a></li>
			<li><a href="#">Donec ante</a></li>
			<li><a href="#">velit, eleifend</a></li>
			<li><a href="#">ucont cont,</a></li>
			<li><a href="#">ucont cont,</a></li>
			<li><a href="#">rhoncus</a></li>
		</ul-->
  </div>
  
  <div id="rightPan">
  	<h1>WelCome<br /><span>To<br />  
    Our Site</span> </h1>
	<h2>Public Notices</h2>
	<p><span class="boldtext"></p>
	<p>  <span class="magedacolortext"></p>
	<p class="bottompadding"></p>

	<table border=0 align="center">
	<tr><td colspan="3"><marquee>Click on  the link For Download the file</marquee></td></tr>
<tr><td>Notice</td><td>Posted Date</td><td>Posted By</td></tr>


<%List list=(List)request.getAttribute("list");
AddNotices notice;
Iterator itr=list.iterator();
String noticename;
while(itr.hasNext())
{
notice=(AddNotices)itr.next();
noticename=notice.getNoticename()+"??"+notice.getType();
 %>
 <tr>

<td><a href="./UploadedFiles/<%=notice.getType() %>/<%=notice.getNoticename() %>" target="_blank"><%=notice.getNoticename() %></a></td>
<td><%= notice.getUploadedDate()%></td>
<td><%= notice.getUploadedby()%></td>

</tr>
<%} %>



</table>

  </div>
</div><div id="footermainPan"><div id="footerPan">s<br /><br /></div>
</div>
</body>
</html>














































